<extend name="Layout:layout" />
<block name="body_main">
    <div class="block box">
        <div class="blank"></div>
        <div id="ur_here">
            当前位置: <a href="{:U('Index/index')}">首页</a> <code>&gt;</code> <a href="{:U('MyOrder/index')}">我的订单</a> <code>&gt;</code> 订单详情 
        </div>
    </div>
    <div class="blank"></div>
    <div class="blank"></div>
    <div class="block clearfix">
        <div class="AreaL">
            <div class="box">
                <div class="box_1">
                    <div class="userCenterBox">
                        <div class="userMenu">
                            <a href="{:U('MyHome/index')}"><img src="__THEME__images/u1.gif"> 欢迎页</a>
                            <a href="{:U('MyProfile/profile_edit')}"><img src="__THEME__images/u2.gif"> 用户信息</a>
                            <a href="{:U('MyOrder/index')}" class="curs"><img src="__THEME__images/u3.gif"> 我的订单</a>
                            <a href="{:U('MyConsignee/index')}"><img src="__THEME__images/u4.gif"> 收货地址</a>
                            <a href="{:U('MyFavorite/index')}"><img src="__THEME__images/u5.gif"> 我的收藏</a>
                            <a href="{:U('Passport/logout')}" style="background:none; text-align:right; margin-right:10px;"><img src="__THEME__images/bnt_sign.gif"></a>
                        </div>      
                    </div>
                </div>
            </div>
        </div>
        <div class="AreaR">
            <div class="box">
                <div class="box_1">
                    <div class="userCenterBox boxCenterList clearfix" style="_height:1%;">
                        <h5><span>订单信息</span></h5>
                        <div class="blank"></div>
                        <table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#dddddd">
                            <tr>
                                <td width="15%" align="right" bgcolor="#ffffff">订单号：</td>
                                <td align="left" bgcolor="#ffffff">{$data.serial_no}</td>
                            </tr>
                            <tr>
                                <td align="right" bgcolor="#ffffff">快递单号：</td>
                                <td align="left" bgcolor="#ffffff">{$data.express_no}</td>
                            </tr>
                            <tr>
                                <td align="right" bgcolor="#ffffff">订单备注：</td>
                                <td align="left" bgcolor="#ffffff">{$data.buyer_remark}</td>
                            </tr>

                        </table>
                        <div class="blank"></div>
                        <h5><span>商品列表</span>
                            <a href="javascript:;" onclick="returnToCart(470)" class="f6">放回购物车</a>
                        </h5>
                        <div class="blank"></div>
                        <table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#dddddd">
                            <tr>
                                <th width="23%" align="center" bgcolor="#ffffff">商品名称</th>
                                <th width="9%" align="center" bgcolor="#ffffff">购买数量</th>
                                <th width="26%" align="center" bgcolor="#ffffff">商品价格</th>
                                <th width="29%" align="center" bgcolor="#ffffff">折扣金额</th>
                                <th width="20%" align="center" bgcolor="#ffffff">小计</th>
                            </tr>
                            <foreach name="list" item="vo">
                            <tr>
                                <td bgcolor="#ffffff"><a href="goods.php?id=87" target="_blank" class="f6">{$vo.product_name}</a></td>
                                <td align="center" bgcolor="#ffffff">{$vo.number}</td>
                                <td align="right" bgcolor="#ffffff">￥{$vo.price}元</td>
                                <td align="right" bgcolor="#ffffff">￥{$vo.discount_amount}元</td>
                                <td align="right" bgcolor="#ffffff">￥{$vo.subtotal}元</td>
                            </tr>
                            </foreach>
                            <tr>
                                <td colspan="8" bgcolor="#ffffff" align="right">
                                    商品总价: ￥{$data.product_amount}元            </td>
                            </tr>
                        </table>
                        <div class="blank"></div>
                        <h5><span>费用总计</span></h5>
                        <div class="blank"></div>
                        <table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#dddddd">
                            <tr>
                                <td align="right" bgcolor="#ffffff">商品总价: ￥{$data.product_amount}元</td>
                            </tr>
                            <tr>
                                <td align="right" bgcolor="#ffffff"></td>
                            </tr>
                            <tr>
                                <td align="right" bgcolor="#ffffff">应付款金额: ￥{$data.order_amount}元</td>
                            </tr>
                        </table>
                        <div class="blank"></div>                        
                    </div>
                </div>
            </div>
        </div>
    </div>
</block>